package org.ayatsuji.lifecycledemo;

import android.app.Activity;
import android.os.Bundle;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

/**
 * @author ayatsuji
 * @date 2021-09-24 23:31
 * @since
 * 对话框活动这里要改成继承Activity，而不是AppCompatActivity
 */
public class DialogActivity extends Activity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.dialogactivity_layout);
    }
}
